using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Shpm.System.Db;
using Shpm.App.Input.Bean;
using System.Collections;

/// <summary>
/// Summary description for AccountDao
/// </summary>
namespace Shpm.App.Input.Dao
{
    public class AccountDao : ShpmBaseDao
    {
        public const string FIND_MEMBER_INFO = "Account.FindMemberInfo";
        public const string FIND_ACCOUNT_DETAIL = "Account.FindAccountDetail";
        public const string FIND_ACCOUNT_PRINT = "Account.FindAccountPrint";
        public const string FIND_ACCOUNTS_PRINT = "Account.FindAccountsPrint";
        public const string GET_LAST_AMOUNT = "Account.GetLastAmount";
        public AccountDao()
        {
            //
            // TODO: Add constructor logic here
            //
        }
        public IList FindMemberInfo(MemberReceivableBean paramBean)
        {
            return base.QueryForList(FIND_MEMBER_INFO, paramBean);
        }
        public IList FindAccountDetail(MemberReceivableDetailBean paramBean)
        {
            return base.QueryForList(FIND_ACCOUNT_DETAIL, paramBean);
        }
        public IList FindAccountPrint(MemberReceivableDetailBean paramBean)
        {
            return base.QueryForList(FIND_ACCOUNT_PRINT, paramBean);
        }
        public IList FindAccountsPrint(MemberReceivableDetailBean paramBean)
        {
            return base.QueryForList(FIND_ACCOUNTS_PRINT, paramBean);
        }
        public MemberReceivableBean GetLastAmount(MemberReceivableBean paramBean)
        {
            return (MemberReceivableBean)base.QueryForObject(GET_LAST_AMOUNT, paramBean);
        }
    }
}